package com.etrans.web.gps.business.base.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.etrans.web.gps.base.service.BaseService;

@Service
public class NotifyRecoreService extends BaseService{

	public boolean saveNotifyRecore(HashMap<String, Object> param) {
		int insert = this.insert( "notifyRecoreMapper.saveNotifyRecore", param);
		return insert>0;
	}
	
	public List<Map<String, Object>> queryAllDriver(HashMap<String, Object> param) {
		List<Map<String, Object>> list = selectList("notifyRecoreQuery.queryAllDriver", param);
		return list;
	}
	
	public List<Map<String, Object>> queryAllEnterprise(HashMap<String, Object> param) {
		List<Map<String, Object>> list = selectList("notifyRecoreQuery.queryAllEnterprise", param);
		return list;
	}
}
